import request from "@/api/request";
import common from "@/lib/common";
let baseURL = "";
if (process.env.NODE_ENV === 'production') {
    baseURL = common.server.baidu;
} else {
    baseURL = common.devServer.baidu;
}

export default {
    board(success, fail) {
        request.get({
            url: `${baseURL}/board?tab=realtime`,
            success: (res) => {
                success(res)
            },
            fail: fail
        })
    },
}